package com.example.demo.param.service;

import com.example.demo.information.entity.School;
import com.example.demo.information.entity.Student;
import com.example.demo.information.entity.info.StudentInfo;
import com.example.demo.param.entity.Param;

import java.util.List;
import java.util.Map;

public interface ParamService {

    Map<Long, List<Param>> findSchoolPhotoParamMap(String paramPzsm);

    List<Map<String, Object>> loadSchoolPhotoParamJson(List<School> schoolList);

    List<Param> findSchoolPhotoParam(Long xxId,String pzsm);

    List<Param> findByPzsmAndXxxxIdNull(String pzsm);

    void savePhotoParam(Param param, Long xxId, String spid, String bkColor, String xgr);

    List<Map<String, Object>> loadSchoolPhotoNameParamJson(List<School> schoolList);

    String savePhotoParamForXxIds(String xxId, String spid, String bkColor);

    String savePhotoParamForParamIds(String paramId, String spid, String bkColor);

    String savePhotoNameParamForXxIds(String xxId, String photoName);

    String getPhotoFileNameByStudentInfo(StudentInfo studentInfo);

    String getPhotoFileNameByStudentInfoAndPzz(StudentInfo studentInfo,String photoNamePzz);

    public Map<String,String> getPhotoNameByNameParam(String nameParam,StudentInfo studentInfo);

    List<Param> getPhotoParam(String pzsm,Long xxId);
}
